package com.yzh.pinboard.BoardView;

import android.graphics.Bitmap;

import java.util.UUID;

/**
 * Created by OCQIT500 on 2017/3/6.
 */

public class ClipElement {
    public String id;
    public int elementType;
    public float locationX;
    public float locationY;
    public float sizeX;
    public float sizeY;
    public ClipMatrix matrix;
    public Bitmap elementData;

    public ClipElement() {
        this.id = UUID.randomUUID().toString();
        this.elementType = 1;
        this.locationX = 0f;
        this.locationY = 0f;
        this.matrix = new ClipMatrix();
        this.matrix.offsetX = 0f;
        this.matrix.offsetY = 0f;
        this.matrix.m11 = this.matrix.m22 = 1f;
    }


}
